import { get } from "../utils/request";

export const reqBanners = () => get("/api/v1/products");

// 获取商品列表
export const reqProducts = (data) => get("/api/v1/products", data);

// 获取商品详情
export const reqProductById = (id) => get("/api/v1/products/" + id);
